package com.jr.service.impl;

import com.jr.entity.EAttention;
import com.jr.dao.EAttentionDao;
import com.jr.service.EAttentionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EAttentionServiceImpl implements EAttentionService {
    @Autowired
    private EAttentionDao eAttentionDao;

    @Override
    public EAttention selectEAttentionWithUser(EAttention eAttention) {
        return eAttentionDao.selectEAttentionWithUser(eAttention);
    }

    @Override
    public int addEAttentionWithUser(EAttention eAttention) {
        return eAttentionDao.insertEAttentionWithUser(eAttention);
    }

    @Override
    public int deleteEAttentionWithUser(EAttention eAttention) {
        return eAttentionDao.deleteEAttentionWithUser(eAttention);
    }
}
